package com.delong.dao.market;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.delong.model.market.Pictures;

public interface PicturesMapper {

	Pictures selectElementById(@Param("id") int id);

	int addElement(Pictures element);

	List<Pictures> selectElementsByIds(@Param("list") List<Integer> ids);

	void deleteElementsByIds(@Param("list") List<Integer> ids);

	List<Pictures> selectElementBanner(@Param("pageno") int pageNo,@Param("limit") int limit);

	int updateElement(Pictures element);

	int changeStatus(@Param("id") int id, @Param("status") int status);
	
	int selectElementBannerCount();
}
